package main

import (
	"fmt"
)

type Goods struct {
	Name string
	Price float64
}

type Books struct {
	Goods
	nums int
}

type PC struct {
	Goods
	keys int
}

func main()  {
	b1 := Books{
		nums : 10,
	}
	b1.Goods.Name = "b1"
	b1.Goods.Price = 55.0

	fmt.Println(b1)
}